package com.chenc.unitdemo.jwt.dto;

import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Auther owlfavor
 * @Date 2024/1/3 22:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginDto {


    //用户id
    private String userId;
    @NotNull(message = "用户名必输")
    private String username;
    @NotNull(message = "密码必输")
    private String password;
    private String nickname;
    private String token;

}
